
//Output module, currently holds the NXT code. In the futher it will hold the Aduno code.

//using namespace std;

class OutputModule{

    //Connection *connection;
    //Brick *nxt;
    //Motor *motorA;

public:

   OutputModule()
	:CurrentPositionX(0),
	CurrentPositionY(0),
	DistanceX(0),
	DistanceY(0),
	FirstTime(false),
	CommandBack(false)
	{};

void SendCommands(int Y, int X);
void Tracking(int Y, int X);
void Tracking2(int Y, int X);
void SetupCom(int Width, int Heigth);




private:
 char Buffer[10];
 int Index;
 double PixelAngleRatio;
 //string input;
 //string output;
 //string input2;
 int CurrentPositionX;
 int CurrentPositionY;
 int CamCentreX;
 int CamCentreY;
 double DistanceXValue;
 int DistanceX;
 int DistanceY;
 bool FirstTime;
 bool CommandBack;

};
